package com.bdc;

import org.apache.http.client.CookieStore;

public final class Var {
	
	public static final class code {
		public static final String tag = "bdc";
	}

	public static final class preference {
		public static final String file_name = "com.bdc.preference";
		public static final String user_name = "userName";
		public static final String password = "password";
	}
	
	public static final class menu {
		public static final int id_logout = 1;
		
		public static final int id_tag_add = 2;
		public static final int id_tag_update = 3;
		public static final int id_tag_del = 4;
		
		public static final int id_record_add = 5;
		public static final int id_record_update = 6;
		public static final int id_record_del = 7;
	}
	
	public static final class service {
		public static CookieStore cookie_store;
		public static final String url = "http://172.16.0.23:8080/web/services/rest";
		public static final String result_false = "false";
		
		public static final String login = url + "/login";
		public static final int login_code_error = -1;
		public static final int login_code_server = -2;
		
		public static final String getTodayRecordList = url + "/getTodayRecordList";
		public static final String updateMemory = url + "/updateMemory";
		
		public static final String addRecord = url + "/addRecord";
		public static final String updateRecord = url + "/updateRecord";
		public static final String delRecord = url + "/delRecord";
		
		public static final String addTag = url + "/addTag";
		public static final String updateTag = url + "/updateTag";
		public static final String delTag = url + "/delTag";
		
		public static final String getTagList = url + "/getTagList";
		public static final String getTagRecordList = url + "/getTagRecordList";
	}
	
	public static final class score {
		public static final int value1 = 5;
		public static final int value2 = 3;
		public static final int value3 = 2;
		public static final int value4 = 0;
	}
	
	public static final class lib {
		public static final int list_height = 45;
	}
}
